package site.wanjiahao.message.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import site.wanjiahao.message.AbstractResponseMessage;

@Data
@NoArgsConstructor
public class ChartResponseMessage extends AbstractResponseMessage {

    private String from;

    private String content;

    public ChartResponseMessage(boolean success, String reason) {
        super(success, reason);
    }

    public ChartResponseMessage(String from, String content) {
        this.from = from;
        this.content = content;
    }


    @Override
    public int getMessageType() {
        return CHART_RESPONSE_ID;
    }
}
